//
//  ReadListCell.m
//  Leisure
//
//  Created by 大展 on 16/4/18.
//  Copyright © 2016年 张展. All rights reserved.
//

#import "ReadListCell.h"

@interface ReadListCell ()
@property (strong, nonatomic) IBOutlet UILabel *title;
@property (strong, nonatomic) IBOutlet UIImageView *myImage;


@end

@implementation ReadListCell

- (void)setCellWithReadmodel:(ReadModel *)model {

    // 设置内容
    self.title.text = [NSString stringWithFormat:@"%@ %@",model.name,model.enname];
    // 设置图片
    [self.myImage sd_setImageWithURL:[NSURL URLWithString:model.coverimg]];
}

- (void)awakeFromNib {
    // Initialization code
}

@end
